<% if params[:poster] %>
  $("#<%= dom_id @event %> .poster").hide("slow");
  $("#<%= dom_id @event %> .details").hide("slow");
  $("#<%= dom_id @event %>").append("<%= escape_javascript render(:partial => 'events/form_poster', :locals => { :event => @event }) %>");
<% end %>
